<template>
  <a-layout-header class="header">
    <div class="logo">
      <img src="@/assets/logo.png" alt="Logo" class="logo-img" />
      HSOE TMS
    </div>
  </a-layout-header>
</template>
<script setup lang="ts"></script>
<style scoped>
#components-layout-demo-top-side-2 .logo {
  float: left;
  width: 120px;
  height: 31px;
  margin: 16px 24px 16px 0;
}

.ant-row-rtl #components-layout-demo-top-side-2 .logo {
  float: right;
  margin: 16px 0 16px 24px;
}

.site-layout-background {
  background: #fff;
}

.logo {
  display: flex;
  align-items: center;
  height: 64px; /* 保持原高度 */
  color: #fff;
  font-size: 18px;
}
.logo-img {
  width: 40px; /* 调整图片尺寸 */
  height: 40px;
  margin-right: 12px; /* 添加图片与文字的间距 */
}
</style>
